package com.naiterui.ehp.bs.cms.modules.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bs.cms.common.json.Url;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author guoyongxiang
 * @date 2019/12/4 14:28
 * @since 1.0.0
 */
@Data
public class PharmacistDetailVO {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "民族")
    private String ethnicity;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "身份证号")
    private String cardNo;

    @ApiModelProperty(value = "职称(1:药士, 2:药师, 3:主管药师, 4:副主任药师, 5:主任药师),描述使用titleIdDescribe")
    private Integer titleId;

    @ApiModelProperty(value = "药师资格证编号")
    private String licenseNo;

    @ApiModelProperty(value = "专业特长")
    private String skill;

    @Url(config = "ehp.domain.img")
    @ApiModelProperty(value = "资格证地址")
    private String licenseUrl;
    
    @Url(config = "ehp.domain.img")
    @ApiModelProperty(value = "身份证正面照片")
    private String frontUrl;

    @Url(config = "ehp.domain.img")
    @ApiModelProperty(value = "身份证反面照片")
    private String backUrl;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "资格证获得日期")
    private Date licenseDate;

    @ApiModelProperty(value = "CA认证状态(0:待认证, 1:通过, 2:失败)")
    private Integer authStatus;

    @ApiModelProperty("签章证书序号")
    private String sealCertNumber;

    @Url(config = "ehp.domain.img")
    @ApiModelProperty(value = "签名图片URL(处理后)")
    private String sealImage;

}
